package com.ruoyi.blog.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 博客基本配置对象 t_blog_config
 * 
 * @author yang
 * @date 2021-11-28
 */
public class TBlogConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long configId;

    /** 配置项 */
    @Excel(name = "配置项")
    private String configKey;

    /** 配置内容 */
    @Excel(name = "配置内容")
    private String configValue;

    /** 配置信息 */
    @Excel(name = "配置信息")
    private String configInfo;

    /** 配置信息 */
    @Excel(name = "配置类型")
    private Integer configType;

    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setConfigKey(String configKey) 
    {
        this.configKey = configKey;
    }

    public String getConfigKey() 
    {
        return configKey;
    }
    public void setConfigValue(String configValue) 
    {
        this.configValue = configValue;
    }

    public String getConfigValue() 
    {
        return configValue;
    }
    public void setConfigInfo(String configInfo) 
    {
        this.configInfo = configInfo;
    }

    public String getConfigInfo() 
    {
        return configInfo;
    }

    public TBlogConfig(Long configId,String configKey, String configValue) {
        this.configKey = configKey;
        this.configValue = configValue;
        this.configId = configId;
    }

    public Integer getConfigType() {
        return configType;
    }

    public void setConfigType(Integer configType) {
        this.configType = configType;
    }

    public TBlogConfig() {
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("configId", getConfigId())
            .append("configKey", getConfigKey())
            .append("configValue", getConfigValue())
            .append("configInfo", getConfigInfo())
            .toString();
    }
}
